class R:
    def __init__(self):
        self.success = True

    def __fail__(self,message):
        self.success = False
        self.message = message

    def __success__(self,data):
        self.data = data
        return